/*
 * TryStringOperation.scala
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package trypkg

object TryStringOperation {
    def main(args : Array[String]) : Unit = {
        var orig = "http://cocoda.photo.hexun.com/64201283_d.html#64200482"
        val shIndex = orig.indexOf("#")
        var after = orig.substring(0, shIndex)
        println("orig : http://cocoda.photo.hexun.com/64201283_d.html#64200482\nafter: " + after)
    }
}
